* {
    margin: 0px;
    padding: 0px;
}

/*页面头部样式*/
#top_bar {
    background-color: #333;
    font-size: 14px;
}

#top_bar nav {
    width: 960px;
    height: 30px;
    line-height: 30px;
    margin: 0px auto;
    color: lightslategray;
}

#top_bar nav span {
    float: right;
    height: 30px;
    padding: 0px 5px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

#top_bar nav spa a {
    color: wheat;
    text-decoration: none;

}

/*banner*/
#banner {
    width: 761px;
    height: 350px;
    margin: 10px auto;
}

/*banner 图片*/
#banner img {
    display: block;
}

#menu {
    width: 960px;
    margin: 0px auto;
}

#menu ul {
    list-style: none;
    border-top: 1px slategray solid;
    border-bottom: 1px slategray solid;
    overflow: auto;
}

#menu ul li {
    float: left;
}

#menu ul li {
    display: block;
    height: 50px;
    line-height: 50px;
}

#menu ul li a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 5px;
    font-size: 16px;
    color: #333333;
    text-decoration: none;
}

#menu ul li a:hover{
    color: #ff6700;

}
/* 选中时的样式*/
#menu ul li a.on{

}
/*头部菜单样式设计结束*/

/*商品在前端现实的样式*/
#container{
    width: 1000px;
    margin: 10px auto;
}

#container ul{
    list-style: none;
    overflow: auto;
}

#container ul li{
    width: 228px;
    height: 320px;
    border: 1px solid red;
    margin: 5px;
    float: left;
}

#container ul li img{
    display: block;
    width: 228px;
    height: 250px;
}

#container ul li .info{
    height: 70px;
    border-top: 1px solid #333333;
}

#container ul li .info p{
    margin: 5px 5px;
}

